package com.example.logaop.entity;

import com.example.logaop.aop.Convert;
import com.example.logaop.aop.LogRecord;
import lombok.Data;

import java.io.Serializable;

/**
 * @auther zzyy
 * @create 2022-11-19 12:13
 */
@Data
public class VipOrder implements Serializable, Convert<VipOrder>
{
    private Long vipOrderId;


    @Override
    public LogRecord convert(VipOrder vipOrder)
    {
        LogRecord logRecord = new LogRecord();
        logRecord.setOrderId(vipOrder.getVipOrderId());
        return logRecord;
    }

}
